﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebAdmin/pheader.Master" AutoEventWireup="true"
    CodeBehind="MsgSend2.aspx.cs" ValidateRequest="false" Inherits="ZWZ.Web.WebAdmin.Update.MsgSend2" %>

<%@ Register Src="../UCtrs/SelUsers.ascx" TagName="SelUsers" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/WebPage/JsControl/Jquery/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="/WebPage/JsControl/ueditor/ueditor.config_msg.js" type="text/javascript"></script>
    <script src="/WebPage/JsControl/ueditor/ueditor.all.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        var editor;
        $(function () {
            editor = new UE.ui.Editor();
            editor.render("myEditor");
        });
        function backToList() {
            window.location.href = "../umsg.aspx";
        }
        function SetTitle() {
            document.getElementById('<%=hidTitle.ClientID%>').value
                = editor.getContentTxt();
        }
    </script>
    <style type="text/css">
        .msgcontainer
        {
            margin-left: auto;
            margin-right: auto;
            width: 90%;
            border: 1px solid #d9d9d9;
            font-size: 14px;
            padding: 0px 20px;
        }
        .msgsend-title
        {
            text-align: right;
            line-height: 25px;
            width: 120px;
            vertical-align: top;
            font-size: 14px;
            font-family: 宋体;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ToolsTitle" runat="server">
    <div class="tools-title" style="background-position: 15px -148px;">
        用户消息
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TootsButtom" runat="server">
    <div class="tools-btn tools-btn-back" onclick="backToList();">
        返回列表
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="clear20">
    </div>
    <div class="clear20">
    </div>
    <div class="msgcontainer">
        <div class="clear20">
        </div>
        <table width="100%">
            <tr>
                <td class="msgsend-title">
                    收件人：
                </td>
                <td>
                    <uc1:SelUsers CssClass="textbox" Width="700px" Height="25px" ID="SelUsers1" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="height: 5px;">
                </td>
            </tr>
            <tr>
                <td class="msgsend-title">
                    内 &nbsp;容：
                </td>
                <td>
                    <asp:HiddenField ID="hidTitle" runat="server" />
                    <script id="myEditor" type="text/plain" name="myContent"></script>
                </td>
            </tr>
            <tr>
                <td style="height: 5px;">
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <div style="width: 710px;">
                        <asp:Button CssClass="tools-btn tools-btn-sure" ID="Button1" runat="server" 
                            Text="发送" OnClientClick="SetTitle(); return true;" onclick="Button1_Click" />
                    </div>
                </td>
            </tr>
        </table>
        <div class="clear20">
        </div>
        <div class="clear20">
        </div>
    </div>
</asp:Content>
